home *** CD-ROM | disk | FTP | other *** search
/ Robotics & Artificial Int…3 (Professional Edition) / Robotics & Artificial Intelligence Tools 2003 (Professional Edition).iso / neural network tool and application / nsinstall.exe / data1.cab / CustomSolutionWizard_Files / ProjectShells / VCPPShell.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-03-08  |  3.4 KB  |  100 lines

  1. //===========================================================================
  2. // Custom Solution Wizard - Visual C++ Shell - Sample Functions
  3. //
  4. // Copyright (c) 2000 - NeuroDimension, Inc.
  5. //---------------------------------------------------------------------------
  6. //    These files were created with the MFC AppWizard to illustrate how the 
  7. //    sample NSLearningNetwork and NSRecallNetwork classes can be used to
  8. //  interact with a Custom Solution Wizard generated DLL for training 
  9. //  or recall from a Visual C++ program.
  10. //---------------------------------------------------------------------------
  11. //    This program will compile and run without any further modification.
  12. //    It uses the training data taken from your original breadboard. This data
  13. //  was saved to two files: InputData.txt and DesiredData.txt during the DLL
  14. //  generation.
  15. //===========================================================================
  16. #if !defined(AFX_VCPPSHELL_H__AA0F3C25_F729_11D1_B031_00104B6416D6__INCLUDED_)
  17. #define AFX_VCPPSHELL_H__AA0F3C25_F729_11D1_B031_00104B6416D6__INCLUDED_
  18.  
  19. #if _MSC_VER >= 1000
  20. #pragma once
  21. #endif // _MSC_VER >= 1000
  22.  
  23. //===========================================================================
  24. // Includes
  25. //===========================================================================
  26. #ifndef __AFXWIN_H__
  27.     #error include 'stdafx.h' before including this file for PCH
  28. #endif
  29.  
  30. #include "resource.h"        // main symbols
  31.  
  32. //===========================================================================
  33. // CLASS: CVCPPShellApp
  34. //===========================================================================
  35. class CVCPPShellApp : public CWinApp
  36. {
  37. public:
  38.     CVCPPShellApp();
  39.  
  40. // Overrides
  41.     // ClassWizard generated virtual function overrides
  42.     //{{AFX_VIRTUAL(CVCPPShellApp)
  43.     public:
  44.     virtual BOOL InitInstance();
  45.     //}}AFX_VIRTUAL
  46.  
  47. // Implementation
  48.  
  49.     //{{AFX_MSG(CVCPPShellApp)
  50.         // NOTE - the ClassWizard will add and remove member functions here.
  51.         //    DO NOT EDIT what you see in these blocks of generated code !
  52.     //}}AFX_MSG
  53.     DECLARE_MESSAGE_MAP()
  54. };
  55.  
  56.  
  57. //===========================================================================
  58. // CLASS: CVCPPShellDlg
  59. //===========================================================================
  60. class CVCPPShellDlg : public CDialog
  61. {
  62. // Construction
  63. public:
  64.     CVCPPShellDlg(CWnd* pParent = NULL);    // standard constructor
  65.  
  66. // Dialog Data
  67.     //{{AFX_DATA(CVCPPShellDlg)
  68.     enum { IDD = IDD_VCPPSHELL_DIALOG };
  69.     CString    m_TrainNetwork_Report;
  70.     //}}AFX_DATA
  71.  
  72.     // ClassWizard generated virtual function overrides
  73.     //{{AFX_VIRTUAL(CVCPPShellDlg)
  74.     protected:
  75.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  76.     //}}AFX_VIRTUAL
  77.  
  78. // Implementation
  79. protected:
  80.     HICON m_hIcon;
  81.  
  82.     // Generated message map functions
  83.     //{{AFX_MSG(CVCPPShellDlg)
  84.     virtual BOOL OnInitDialog();
  85.     afx_msg void OnPaint();
  86.     afx_msg HCURSOR OnQueryDragIcon();
  87.     afx_msg void OnGetResponse();
  88.     afx_msg void OnTrainNetwork();
  89.     //}}AFX_MSG
  90.     DECLARE_MESSAGE_MAP()
  91.     float *FillArrayFromFile (LPCTSTR fName, int numRows, int numCols);
  92. };
  93.  
  94. /////////////////////////////////////////////////////////////////////////////
  95.  
  96. //{{AFX_INSERT_LOCATION}}
  97. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  98.  
  99. #endif // !defined(AFX_VCPPSHELL_H__AA0F3C25_F729_11D1_B031_00104B6416D6__INCLUDED_)
  100.